<%--
  Created by IntelliJ IDEA.
  User: User
  Date: 2024/5/13
  Time: 8:45
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.List,java.util.Set"%>
<html>
    <head>
        <title>hello2</title>
    </head>
    <body>
        hello2

        <!--
            jsp动作:JSP封装的一些功能，可以当做Java的工具类
            forward动作:实现转发效果，request.getRequestDispatcher("url地址").forward(request,response);
        -->
        <%--<jsp:forward page="/findAll.emp"></jsp:forward>--%>

        <%
            //小脚本，小脚本中可以编写java代码
            for(int i=1;i<=5;i++){
                out.print("<h1>hello2</h1>");
            }

        %>

        变量值:
        <%=20 %>
        <br>
        <%
            out.print(20);
        %>
        <br>
        应用名:<%=request.getContextPath()%>
        <br>
        <%!
            int i=1;
        %>
    </body>
</html>
